class TourDay < ActiveRecord::Base
  attr_accessible :day_number, :description_eng, :description_idn , :tour_id

  validates :day_number, :description_eng, :description_idn, :tour_id, presence: true

  belongs_to :tour, foreign_key: "tour_id"
  has_many :tour_day_images
  has_many :tour_days
end
